package com.alibaba.algo.dtos.user;

import com.alibaba.algo.core.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.Set;

@Getter
@Setter
public class SysResourceTreeNodeDTO extends BaseEntity {

    /**
     * id
     */
    private Long id;

    /**
     * 资源编码
     */
    private String resourceCode;

    /**
     * 资源类型
     */
    private Integer resourceType;

    /**
     * 资源名称
     */
    private String resourceName;

    /**
     * 父节点id
     */
    private Long parentId;

    /**
     * 访问路径
     */
    private String path;

    /**
     * 下层子节点集合
     */
    private Set<SysResourceTreeNodeDTO> children;

}
